#!/bin/bash

$dest=/opt/notesync
mkdir -p $dest

\cp -rf bin $dest
\cp -rf conf $dest
\cp -rf version.info $dest

cd $dest
chmod +x *.sh
cd --

echo "install notesync ok, path: $dest"
